package com.hdoit.ares.logical.insu.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年01月19日 09:14:02
 * @comment
 */
@Alias("zhonganAccident")
@Entity
@Table(name="insu_zhongan_accident")
public class ZhonganAccident extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //用户标识
    @Column(name="userId")
    private String userId;

    //请求时间
    @Column(name="requestDate")
    private Date requestDate;

    //原保单号
    @Column(name="oldPolicyNo")
    private String oldPolicyNo;
    
    //产品Id
    @Column(name="productId")
    private String productId;

    //保单号
    @Column(name="policyNo")
    private String policyNo;

    //保额
    @Column(name="sumInsured")
    private String sumInsured;

    //保费
    @Column(name="premium")
    private String premium;

    //保单起期/退保生效日期
    @Column(name="effectiveDate")
    private Date effectiveDate;

    //保单止期
    @Column(name="expiryDate")
    private Date expiryDate;

    //产品名称
    @Column(name="productName")
    private String productName;

    //推广位code
    @Column(name="promoteCode")
    private String promoteCode;

    //推广位名称
    @Column(name="promoteName")
    private String promoteName;

    //推广费
    @Column(name="promoteFee")
    private String promoteFee;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getUserId(){
        return this.userId;
    }
    public void setUserId(String userId){
         this.userId=userId;
    }

    public Date getRequestDate(){
        return this.requestDate;
    }
    public void setRequestDate(Date requestDate){
         this.requestDate=requestDate;
    }

    public String getOldPolicyNo(){
        return this.oldPolicyNo;
    }
    public void setOldPolicyNo(String oldPolicyNo){
         this.oldPolicyNo=oldPolicyNo;
    }

    public String getPolicyNo(){
        return this.policyNo;
    }
    public void setPolicyNo(String policyNo){
         this.policyNo=policyNo;
    }

    public String getSumInsured(){
        return this.sumInsured;
    }
    public void setSumInsured(String sumInsured){
         this.sumInsured=sumInsured;
    }

    public String getPremium(){
        return this.premium;
    }
    public void setPremium(String premium){
         this.premium=premium;
    }

    public Date getEffectiveDate(){
        return this.effectiveDate;
    }
    public void setEffectiveDate(Date effectiveDate){
         this.effectiveDate=effectiveDate;
    }

    public Date getExpiryDate(){
        return this.expiryDate;
    }
    public void setExpiryDate(Date expiryDate){
         this.expiryDate=expiryDate;
    }

    public String getProductName(){
        return this.productName;
    }
    public void setProductName(String productName){
         this.productName=productName;
    }

    public String getPromoteCode(){
        return this.promoteCode;
    }
    public void setPromoteCode(String promoteCode){
         this.promoteCode=promoteCode;
    }

    public String getPromoteName(){
        return this.promoteName;
    }
    public void setPromoteName(String promoteName){
         this.promoteName=promoteName;
    }

    public String getPromoteFee(){
        return this.promoteFee;
    }
    public void setPromoteFee(String promoteFee){
         this.promoteFee=promoteFee;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

}